

    \filetitle{addgroup}{Add measurement variable or shock grouping to grouping object}{grouping/addgroup}

	\paragraph{Syntax}\label{syntax}

\begin{verbatim}
G = addgroup(G,GroupName,GroupContents)
\end{verbatim}

\paragraph{Input arguments}\label{input-arguments}

\begin{itemize}
\item
  \texttt{G} {[} grouping {]} - Grouping object.
\item
  \texttt{GroupName} {[} char {]} - Group name.
\item
  \texttt{GroupContents} {[} char \textbar{} cell {]} - Names of shocks
  or measurement variables to be included in the new group;
  \texttt{GroupContents} can also be regular expressions.
\end{itemize}

\paragraph{Output arguments}\label{output-arguments}

\begin{itemize}
\itemsep1pt\parskip0pt\parsep0pt
\item
  \texttt{G} {[} grouping {]} - Grouping object.
\end{itemize}

\paragraph{Description}\label{description}

\paragraph{Example}\label{example}


